package com.zja.dao;

import com.zja.model.User;

import java.util.List;

public interface UserDao {
    List<User> selectAll() ;

    User selectById(Long id);

    boolean insert(User user) ;

    boolean update(User user) ;

    boolean deleteById(Long id) ;

    User selectByUserName(String username) ;

    User selectByEmail(String email) ;






}
